/**
 *
 */
$(document).ready(function() {

    $('li').click(function() {
        console.log('Clicked on "li" element with id ' + this.id);
        var id = this.id;
        switch(id) {
            case '1':
                console.log('li with id 1 clicked');
                $('#content').load('/html/administrator-adauga-secretara.jsp');
                console.log('content should be loaded');
                break;
            case '2':
                console.log('li with id 2 clicked');
                $('#content').load('/html/administrator-adauga-doctor.jsp');
                console.log('content should be loaded');
                break;
            case '3':
                console.log('li with id 3 clicked');
                $('#content').load('/html/administrator-modifica-tarife.jsp');
                console.log('content should be loaded');
                break;
            case '4':
                console.log('li with id 4 clicked');
                $('#content').load('/html/administrator-bilant.jsp');
                console.log('content should be loaded');
                break;
            case '5':
                console.log('li with id 5 clicked');
                $('#content').load('/html/administrator-gestiune-materiale.jsp');
                console.log('content should be loaded');
                break;
            default:
                break;
        }
    });

});

